var msg="梦云妹妹";
var arg1="aaa";
// let arg1="bbb";
const ARG2="bbb";

// ARG2="aaa";

var str1:string="梦云";
// str1=123;
str1="123";
var str2="梦云";
str2="123";

var num1:number=124;
// num1="yun";

var num2:number=0b010101;
var num3:number=0o01234567;
var num4:number=0x0123456789ABCDEF;

var flag:boolean=true;
// flag="aaa";

var argNull:null=null;
// argNull="aaa";
// argNull=111;

var argUndefined:undefined=undefined;
// argUndefined="123"

var arr1:[]=[];
// arr1[0]=1;
// console.log(arr1);
// arr1.push(123);
var arr2:number[]=[];
arr2.push(12);
var arr3:number[]=[1,2,3,4];
arr3[4]=5;
arr3.push(6);
// console.log(arr3);
var arr4:string[]=["a","b"];
// arr4[2]=123;
// arr4.push(123);

var arg2:any="梦云啊";
arg2=123;
var arr5:any[]=[1,"a",true,null,undefined];

var arr6:Array<number>=[1,2,3,4];
var arr7:Array<string>=["a","b"];
var arr8:Array<any>=[1,"a",true];
var arr9;
arr9="aaa";

var tulpe1:[number,string,boolean]=[123,"梦云",true];
tulpe1[0]=123;
// tulpe1.length=4;
tulpe1.push("嘻嘻嘻");
// console.log(tulpe1);

enum sex {
    m="0",
    f="1",
}
var arg3:sex=sex.m;
arg3=sex.f;
// console.log(arg3);
